/**
 * 
 */
package com.school.parentServlet.cmd;

import java.io.IOException;
import java.util.logging.Logger;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author nehra
 *
 */
public class ViewMyChildExamDateSheetCommand implements ParentCommand {

	/* (non-Javadoc)
	 * @see com.school.parentServlet.cmd.ParentCommand#processRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletConfig)
	 */
	public static Logger log = Logger.getLogger(ViewMyChildExamDateSheetCommand.class.getSimpleName());
	@Override
	public void processRequest(HttpServletRequest req,
			HttpServletResponse resp, ServletConfig config)
			throws ServletException, IOException {
		// TODO Auto-generated method stub
		System.out.println("Entered process request of parent command---------kkkk");
		
		req.setAttribute("info", true);
		
		req.setAttribute("viewStudAssignment", false);
		req.setAttribute("viewStudAttendance", false);
		req.setAttribute("viewStudFeesDetails", false);
		req.setAttribute("viewStudProfiles", false);
		req.setAttribute("viewStudReportcard", false);
		req.setAttribute("viewStudTimeTable", false);
		req.setAttribute("viewExamDateSheet", true);
		
		
		
		RequestDispatcher dispatcher = req.getRequestDispatcher("/parent_home.jsp");
		dispatcher.forward(req, resp);
		
		System.out.println("Terminating process request of parent command---------kkkk");


	}

}
